try {
    println "[INFO] sdedit path: " + "${settings.localRepository}/net/sf/sdedit/sdedit/${sdeditVersion}/sdedit-${sdeditVersion}.jar"

    def dir = new File("${jtracertOutputFolder}/${pom.artifactId}")

    println "[INFO] jtracert output folder: $dir"

    dir.eachFileRecurse {
        if(!it.directory) {
            println "[INFO] converting $it to png"
            def fileName = it.path.replace(".sdx", ".png")

            def proc = """java -Xms256M -Xmx1024M -jar
            ${settings.localRepository}/net/sf/sdedit/sdedit/${sdeditVersion}/sdedit-${sdeditVersion}.jar
            -o ${fileName}
            -t png
            $it"""
            .execute()
            proc.waitFor()
        }
    }
} catch(Exception e) {
    e.printStackTrace()
}